import { post } from "../utils/request";

/**
 * 登录
 * @param data
 * @returns
 */
export const loginAPI = (data: App.LoginInfo) => post("/auth/login", data);

/**
 * 注册
 * @param data
 * @returns
 */
export const regAPI = (data: App.LoginInfo) => post("/auth/reg", data);
